﻿<?php

/**
 * BbPlayerStat form.
 *
 * @package    vogue
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class BbPlayerStatForm extends BaseBbPlayerStatForm
{
  public function configure()
  {
  
	    # WIDGETS
      $this->widgetSchema['p_id']      = new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('BbPlayers'), 'add_empty' => true), array('style'=>'width:100px;height:20px;'));	
      $this->widgetSchema['m_id']      = new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('BbMatch'), 'add_empty' => true), array('style'=>'width:40px;height:20px;'));	  
      $this->widgetSchema['fgm']       = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['fga']       = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['pt3m']      = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['pt3a']      = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['ftm']       = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['fta']       = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['offreb']    = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['reb']       = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['ast']       = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['to']        = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['stl']       = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['blk']       = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['pf']        = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
      $this->widgetSchema['pts']       = new sfWidgetFormInputText(array(), array('style'=>'width:20px;'));
	  
	  
      # VALIDATORS		              
      $required = 'Утга оруулна уу.';
	
  }
  

}
